<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <script>
    function zuida(){
      var zuida=([100, 554, 55, 40]);
      var max = zuida[0]
      for(var i in zuida) {
        if (zuida[i] > max) {
          max = zuida[i]
        }
      }
      document.write("最大值:",max)
    }
    zuida()
  </script>
</head>
<body>

</body>
</html>
